namespace Kwan.Helper.Bitmaps
{
    public struct WaterPoint
    {
        public enum PointType
        {
            LeftTop,
            LeftBottom,
            RightTop,
            RightBottom
        }

        public int x;
        public int y;
        public PointType Type;

        public static WaterPoint Create(int x, int y)
        {
            WaterPoint wp;
            wp.x = x;
            wp.y = y;
            wp.Type = PointType.LeftTop;
            return wp;
        }

        public static WaterPoint Create(int x, int y, PointType type)
        {
            WaterPoint wp;
            wp.x = x;
            wp.y = y;
            wp.Type = type;
            return wp;
        }
    }
}
